package com.alignet.gn.hibernate;

import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.MappedSuperclass;

/**
 * AbstractTgnAction entity provides the base persistence definition of the
 * TgnAction entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractTgnAction implements java.io.Serializable {

    // Fields

    private Integer inIdaction;
    private String vcGroup;
    private String vcMethod;
    private Short inMethodcode;
    private String vcDesc;
    private String vcIdactionenabledbefore;
    private Timestamp dtRegistry;

    // Constructors

    /** default constructor */
    public AbstractTgnAction() {
    }

    /** minimal constructor */
    public AbstractTgnAction(Integer inIdaction,
	    String vcGroup, Timestamp dtRegistry) {
	this.inIdaction = inIdaction;
	this.vcGroup = vcGroup;
	this.dtRegistry = dtRegistry;
    }

    /** full constructor */
    public AbstractTgnAction(Integer inIdaction,
	    String vcGroup, String vcMethod, Short inMethodcode, String vcDesc,
	    String vcIdactionenabledbefore, Timestamp dtRegistry) {
	this.inIdaction = inIdaction;
	this.vcGroup = vcGroup;
	this.vcMethod = vcMethod;
	this.inMethodcode = inMethodcode;
	this.vcDesc = vcDesc;
	this.vcIdactionenabledbefore = vcIdactionenabledbefore;
	this.dtRegistry = dtRegistry;
    }

    // Property accessors
    @Id
    @Column(name = "IN_IDACTION", unique = true, nullable = false)
    public Integer getInIdaction() {
	return this.inIdaction;
    }

    public void setInIdaction(Integer inIdaction) {
	this.inIdaction = inIdaction;
    }


    @Column(name = "VC_GROUP", nullable = false, length = 2)
    public String getVcGroup() {
	return this.vcGroup;
    }

    public void setVcGroup(String vcGroup) {
	this.vcGroup = vcGroup;
    }

    @Column(name = "VC_METHOD", length = 60)
    public String getVcMethod() {
	return this.vcMethod;
    }

    public void setVcMethod(String vcMethod) {
	this.vcMethod = vcMethod;
    }

    @Column(name = "IN_METHODCODE")
    public Short getInMethodcode() {
	return this.inMethodcode;
    }

    public void setInMethodcode(Short inMethodcode) {
	this.inMethodcode = inMethodcode;
    }

    @Column(name = "VC_DESC", length = 60)
    public String getVcDesc() {
	return this.vcDesc;
    }

    public void setVcDesc(String vcDesc) {
	this.vcDesc = vcDesc;
    }

    @Column(name = "VC_IDACTIONENABLEDBEFORE", length = 256)
    public String getVcIdactionenabledbefore() {
	return this.vcIdactionenabledbefore;
    }

    public void setVcIdactionenabledbefore(String vcIdactionenabledbefore) {
	this.vcIdactionenabledbefore = vcIdactionenabledbefore;
    }

    @Column(name = "DT_REGISTRY", nullable = false, length = 26)
    public Timestamp getDtRegistry() {
	return this.dtRegistry;
    }

    public void setDtRegistry(Timestamp dtRegistry) {
	this.dtRegistry = dtRegistry;
    }

}